package com.sun.showcase.client.query.mall;

import com.sun.showcase.client.domain.mall.SkuAttributeValue;
import com.sun.showcase.pojo.SearchModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class SkuAttributeValueQuery extends SearchModel<SkuAttributeValue> implements Serializable {
    
  private static final long serialVersionUID = 3148176768559230877L;
    

	  /**
     * ID       db_column: id 
     */	
	private String id;
	  /**
     * 值       db_column: value
     */
	private String value;
	  /**
     * sku属性id       db_column: sku_arribute_id
     */
	private String skuArributeId;
	/**
	 * 封装修改时的where条件  key为数据库字段值  value为条件值
	 * */
	private Map<String,Object> searchMap = new HashMap<String,Object>();
	/**
	 * 数据表主键id的数组
	 * */
	private String ids[];

	private String goodsId;

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String value) {
		this.id = value;
	}

	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getSkuArributeId() {
		return this.skuArributeId;
	}

	public void setSkuArributeId(String value) {
		this.skuArributeId = value;
	}

	public Map<String, Object> getSearchMap() {
		return searchMap;
	}

	public void setSearchMap(Map<String, Object> searchMap) {
		this.searchMap = searchMap;
	}

	public String[] getIds() {
		return ids;
	}

	public void setIds(String[] ids) {
		this.ids = ids;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.DEFAULT_STYLE);
	}
	
}

